package com.example.houqin_oa.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.comment_oa.pojos.DrawGoods;
import com.example.comment_oa.pojos.rear.Details;
import com.example.comment_oa.pojos.rear.Entrepot;
import com.example.comment_oa.pojos.rear.Noet;
import com.example.comment_oa.pojos_vo.LogisticsVo.EntrepotVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author liang
* @description 针对表【entrepot】的数据库操作Mapper
* @createDate 2022-11-23 18:02:33
* @Entity com.example.houqin_oa.pojos.Entrepot
*/
@Mapper
public interface EntrepotMapper extends BaseMapper<Entrepot> {

    List<Entrepot> AllEntrepot (Entrepot entrepot);

    //报损，修改物品数量
    boolean Breakage(EntrepotVo entrepotVo);

    boolean Rework(Noet noet);

    boolean Polish(DrawGoods drawGoods);

    Entrepot allEnt(String entNO);

    boolean upEnt(Details i);

    boolean addEnt(Details i);

    boolean upEntrepot(int replaceFrontAmount, String replaceName);
}




